import request from '@/utils/request'

function formatRequestUri(name) {
  return 'form/source/' + name
}

export function Gets(tableType) {
  return request({
    url: formatRequestUri('Gets'),
    method: 'get',
    params: {
      tableType
    }
  })
}
export function GetItems(key) {
  return request({
    url: formatRequestUri('GetItems'),
    method: 'get',
    params: {
      sourKey: key
    }
  })
}
